package com.industrial.premu.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 指标管理主对象 pre_mu_index_weight_main
 *
 * @author SangGuangCan
 * @date 2024-01-23
 */
public class PreMuIndexWeightMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String baseId;

    /** 企业类型 */
    @Excel(name = "企业类型")
    private String companyType;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 区县 */
    @Excel(name = "区县")
    private String county;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseCreateTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseUpdateTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String baseCreateBy;

    /** 更新人 */
    @Excel(name = "更新人")
    private String baseUpdateBy;
    
    private List<PreMuIndexWeightSub> preMuIndexWeightSubList;

    private String waterConsumption;

    /**  */
    private String pkId;
    /**
     * 所属行业
     */
    @Excel(name = "所属行业")
    private String industry;

    @Excel(name = "所属行业名称")
    private String industryName;

    /**
     * 所属园区
     */
    @Excel(name = "所属园区")
    private String park;

    public String getIndustryName() {
        return industryName;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getPark() {
        return park;
    }

    public void setPark(String park) {
        this.park = park;
    }

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }
    public void setCompanyType(String companyType)
    {
        this.companyType = companyType;
    }

    public String getCompanyType()
    {
        return companyType;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }
    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getCounty()
    {
        return county;
    }
    public void setBaseCreateTime(Date baseCreateTime)
    {
        this.baseCreateTime = baseCreateTime;
    }

    public Date getBaseCreateTime()
    {
        return baseCreateTime;
    }
    public void setBaseUpdateTime(Date baseUpdateTime)
    {
        this.baseUpdateTime = baseUpdateTime;
    }

    public Date getBaseUpdateTime()
    {
        return baseUpdateTime;
    }
    public void setBaseCreateBy(String baseCreateBy)
    {
        this.baseCreateBy = baseCreateBy;
    }

    public String getBaseCreateBy()
    {
        return baseCreateBy;
    }
    public void setBaseUpdateBy(String baseUpdateBy)
    {
        this.baseUpdateBy = baseUpdateBy;
    }

    public String getBaseUpdateBy()
    {
        return baseUpdateBy;
    }

    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public List<PreMuIndexWeightSub> getPreMuIndexWeightSubList() {
        return preMuIndexWeightSubList;
    }

    public void setPreMuIndexWeightSubList(List<PreMuIndexWeightSub> preMuIndexWeightSubList) {
        this.preMuIndexWeightSubList = preMuIndexWeightSubList;
    }


    public String getWaterConsumption() {
        return waterConsumption;
    }

    public void setWaterConsumption(String waterConsumption) {
        this.waterConsumption = waterConsumption;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("baseId", getBaseId())
                .append("companyType", getCompanyType())
                .append("year", getYear())
                .append("county", getCounty())
                .append("baseCreateTime", getBaseCreateTime())
                .append("baseUpdateTime", getBaseUpdateTime())
                .append("baseCreateBy", getBaseCreateBy())
                .append("baseUpdateBy", getBaseUpdateBy())
                .toString();
    }
}
